﻿namespace XProject.DataVisit.Handler
{
    interface IViewManager
    {
        /// <summary>
        /// 执行URL请求的方法.
        /// </summary>
        void Execute();

        /// <summary>
        /// 是否找到请求的类和方法.
        /// </summary>
        bool FoundView { get; }

        /// <summary>
        /// 返回封装好了的JSON的请求实例.
        /// </summary>
        IJsonRequest JsonRequest { get; }

        /// <summary>
        /// 返回执行请求的返回信息.
        /// </summary>
        IJsonResponse JsonResponse { get; }
    }
}
